package com.ninong.ker.log.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;

/**
 * 系统日志
 * @author cmd
 */
@Data
@TableName("fw_log")
public class FwLog implements Serializable {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;


    /**
     *
     */
    @TableField("description")
    private String description;


    /**
     * INFO  ERROR
     */
    @TableField("log_type")
    private String logType;


    /**
     *
     */
    @TableField("method")
    private String method;


    /**
     *
     */
    @TableField("params")
    private String params;


    /**
     *
     */
    @TableField("request_ip")
    private String requestIp;


    /**
     *
     */
    @TableField("time")
    private Long time;


    /**
     *
     */
    @TableField("username")
    private String username;


    /**
     *
     */
    @TableField("browser")
    private String browser;


    /**
     *
     */
    @TableField("exception_detail")
    private String exceptionDetail;


    /**
     *
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 租户id
     */
    @TableField("tenant_id")
    private String tenantId;

}
